dojo.provide('snareworks.MGUtils');

dojo.declare("snareworks.MGUtils", null, {
	
	shuffle: function(o) {
		for(var j, x, i = o.length; i; j = parseInt(Math.random() * i), x = o[--i], o[i] = o[j], o[j] = x);
		return o;
	},
	
	getMD5Hash: function(s) {
		return dojox.encoding.digests.MD5(s, dojox.encoding.digests.outputTypes.Hex);
	}
	
});
